import AppConstants from "../framework/scripts/AppConstants"
import UIBase from "../framework/scripts/view/UIBase"
import UIMgr from "../framework/scripts/view/UIMgr"
import UITask from "./UITask"


export default class UIBag extends UIBase {
    public skinPath: string = 'UIBag'
    public uiShowStyle: number = AppConstants.uiShowStyle.FadeIn


    protected onButtonClick(button: cc.Node) {
        switch (button.name) {
            case 'BtnTask':
                UIMgr.open(UITask)
                break
        }
    }
}
